package com.nomito.minimito.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author nomito
 * @email 1790464356@qq.com
 * @date 2021-05-08 21:04:18
 */
@Data
@TableName("im_msg")
public class ImMsgEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	private Long id;
	/**
	 * 发送者id
	 */
	private Long sendUserId;
	/**
	 * 接收者id
	 */
	private Long acceptUserId;
	/**
	 * 聊天内容
	 */
	private String message;
	/**
	 * 是否签收(0未签收，1已签收)
	 */
	private Integer isSigned;
	/**
	 * 逻辑删除(0未删除，1已删除)
	 */
	private Integer isDeleted;
	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date gmtCreate;
	/**
	 * 修改时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date gmtModified;

}
